# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-cannonball
pkgver=0_git20200107
pkgrel=0
_commit="5dcef189dc5c408bbd9e4bc08b1f9801b04cd3ca"
pkgdesc="an enhanced OutRun Engine"
url="https://github.com/libretro/cannonball"
arch="all"
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/cannonball/archive/$_commit.tar.gz"
builddir="$srcdir/cannonball-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 cannonball_libretro.so "$pkgdir"/usr/lib/libretro/cannonball_libretro.so
}

sha512sums="64cf9009474fecab71adb3d2d32bc156017f77a0732f20cfd9c1d4113c3aad0c99a0a258489c39dc8796bd21c702d3653a2e2c4de77e55692f0a5ba230a5e8bc  libretro-cannonball-5dcef189dc5c408bbd9e4bc08b1f9801b04cd3ca.tar.gz"
